home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9850 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  665 b 

  1. Path: bcarh8ab.bnr.ca!news
  2. From: pablo.olate.0500908@nt.com (Pablo Olate)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: How can i load bitmap ???
  5. Date: Mon, 04 Mar 1996 21:06:05 GMT
  6. Organization: Bell Northern Research
  7. Message-ID: <4hfifb$5hc@bcarh8ab.bnr.ca>
  8. References: <1996Mar1.124539.1@tnclus>
  9. NNTP-Posting-Host: pbpdb035.bnr.ca
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. jrossi@tnclus.tele.nokia.fi wrote:
  13.  
  14. >How can i load bitmaps to my program?
  15.  
  16. >I try following:
  17.  
  18. >hBitmap = LoadBitmap(hinst, "Picture");
  19.  
  20. Try 
  21.  
  22. hBitMap = LoadBitmap(hinst, MAKEINTRESOURCE (Picture)) ;
  23.  
  24. This uses the resource identifier for Picture to create
  25. the handle for the bitmap.
  26.  
  27. Pablo Olate.
  28.  
  29.